<ul>
	<li [%if $path=='index'%]class="hover"[%/if%]><a class="toplink" href="[%$homelink%]">首页</a></li>
	[%forlist from=$menu key=i%]
	<li [%if $menu[i].path==$path && $menu[i].current==$current%]class="hover"[%/if%]>
		<a class="toplink" title="[%$menu[i].title%]" href="[%$menu[i].link%]">[%$menu[i].title%]</a>
	</li>
	[%/forlist%]
</ul>
